package zlatan_demo03_object

object ClassDemo01 {

  //定义单例对象
  object dog{
    val leg_num=4
  }

  def main(args: Array[String]): Unit = {
    println(dog.leg_num)
  }
}
